package com.huc.netty.example.provider.service;

import com.huc.netty.example.api.IUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author huc
 * @version 1.0
 * @note
 * @date 2021/9/16 11:03
 */
@Slf4j
@Service
public class UserServiceImpl implements IUserService {

    @Override
    public String saveUser(String name) {
        String result = String.format("保存name=%s用户成功", name);
        log.info(result);
        return result;
    }
}
